/**
 * 
 */
package server;


import java.util.HashMap;

import forum.Member;
import server.comm.ConnectionHandler;


/**
 * @author Alon Segal
 *
 */
public class Bridge {
	private HashMap<Member, ConnectionHandler> registeredConnections;

	public Bridge() {
		this.registeredConnections = new HashMap<Member, ConnectionHandler>();
	}

	public HashMap<Member, ConnectionHandler> getConnections() {
		return registeredConnections;
	}
	
	public void addConnection(Member m, ConnectionHandler ch) {
		registeredConnections.put(m, ch);
	}

	public void sendMessageToMember(Member m) {
	}
	
}
